/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package holidaysManager;

import entities.Holiday;
import lib.JButtonTable.ButtonModel;

/**
 *
 * @author yoshi
 */
public class DeleteButtonModel implements ButtonModel{

    Holiday holiday;
    
    public DeleteButtonModel(Holiday holiday) {
        this.holiday = holiday;
    }

    public Holiday getHoliday() {
        return holiday;
    }
    
    @Override
    public String getText() {
        return "Delete";
    }

    @Override
    public boolean isEnable() {
        return true;
    }
    

}
